package ibm.websphere.monitor.service.impl;

import ibm.websphere.monitor.bean.JvmInfo;
import ibm.websphere.monitor.domain.JvmDomain;
import ibm.websphere.monitor.service.IJvmService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by zhouyang on 2016/1/14.
 */
@Service
public class JvmServiceImpl implements IJvmService {

    @Autowired
    JvmDomain jvmDomain;

    @Override
    public List<Object> findJvm(String date,String serverName) {
        return jvmDomain.findJvm(date,serverName);
    }
}
